import { generateMeta } from '@/common/consts/component-meta'
export default {
  componentConfig: {
    name: "个人信息",
    type: "custom",
    options: {
      valueType: "OBJECT",
      defaultValue: {
        cardId: "",
        name: "",
        sex: "",
      },
      cardName: "",
      disabled: false,
      clearable: false,
      placeholder: "请选择",
      validatorCheck: false,
      validator: "",
      showLabel: false,
      isWidgetWidth: false,
      width: 100,
      size: "mini",
      props: {
        value: "value",
        label: "label",
      },
      customClass: "",
      labelWidth: 100,
      isLabelWidth: false,
      hidden: false,
    },
    events: {
      onChange: "",
      onFocus: "",
      onBlur: "",
    },
    meta: generateMeta({
      column_format: "TEXT", // 字段格式
      max_length: 256, // 最大长度,
    }),
  },
};
